package mybox.engine;

public class Kennzeichen implements Figur{
	
	File4Qcad file4qcad;
	QVector punkt;
	public Kennzeichen(File4Qcad file4qcad, QVector punkt) {
		this.punkt = new QVector(punkt);
		this.file4qcad=file4qcad;
		draw();
	}

	public void draw() {
		
		Circle circle = new Circle(file4qcad,punkt,2);
		circle.draw();
		QVector lowerLeft = new QVector(punkt.x-1,punkt.y-1);
		QVector upperRight = new QVector(punkt.x+1,punkt.y+1);
		QVector upperLeft = new QVector(punkt.x-1,punkt.y+1);
		QVector lowerRight = new QVector(punkt.x+1,punkt.y-1);
		file4qcad.println(QVector.printLine(lowerLeft,upperRight));
		file4qcad.println(QVector.printLine(upperLeft,lowerRight));
				
	}

}
